package com.reason.user.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * @author yulongjun
 * @date 2020/6/29 8:15 下午  1
 */
@TableName("reason_customer")
public class Customer  implements Serializable {
    /**
     * 主键id
     */
    @Id
    @JsonFormat(shape = JsonFormat.Shape.STRING)//防止丢失精度
    private Long id;
    /**
     * 用户的真实名字
     */
    private String name;
    /**
     * 用户的手机号
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)//防止丢失精度
    private Long phone;
    /**
     * 用户的登录密码
     */
    private String password;
    /**
     * 用户的照片
     */
    private String photo;
    /**
     * 用户的昵称
     */
    private String nick;
    /**
     * 用户年龄
     */
    private Integer age;

    /**
     * 用户的性别
     */

    private String sex;
    /**
     * 用户的生日
     */
    private Date birthday;
    /**
     * 用户的常驻地址
     */
    private String address;
    /**
     * 用户的婚姻状态
     */
    private String maritalStatus;
    /**
     * 用户的身高
     */
    private Integer height;
    /**
     * 用户的学历
     */
    private String education;
    /**
     * 用户的月薪
     */
    private String salary;
    /**
     * 用户的生肖
     */
    private String zodiac;
    /**
     * 用户的电子邮件
     */
    private String email;
    /**
     * 用户是否有子女
     */
    private String children;
    /**
     * 用户的血型
     */
    private String bloodType;
    /**
     * 用户是否购车
     */
    private String car;
    /**
     * 用户是什么名族
     */
    private String nation;
    /**
     * 用户是否有房子
     */
    private String house;
    /**
     * 用户是会员，0为普通会员，1为高级会员
     */
    private Integer member;
    /**
     * 用户的体重
     */
    private Integer weight;
    /**
     * 用户的星座
     */
    private String constellation;
    /**
     * 用户的自我介绍
     */
    private String suggest;
    /**
     * 用户的个人标签
     */
    private String presonality;
    /**
     *用户的兴趣爱好
     */
    private String favorite;

    /**
     * 择偶表外键id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)//防止丢失精度
//    @TableField("condition_id")
    private Long conditionId;
    /**
     * 婚姻观念表外键id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)//防止丢失精度
//    @TableField("marriage_id")
    private Long marriageId;
    /**
     * 工作学习情况表外键id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)//防止丢失精度
//    @TableField("job_id")
    private Long jobId;
    /**
     * 经济实力表外键id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)//防止丢失精度
//    @TableField("economics_id")
    private Long economicsId;
    /**
     * 用户生活表外键id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)//防止丢失精度
//    @TableField("lifeStyle_id")
    private Long lifestyleId;

    public String getFavorite() {
        return favorite;
    }

    public void setFavorite(String favorite) {
        this.favorite = favorite;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(String maritalStatus) {
        this.maritalStatus = maritalStatus;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public String getZodiac() {
        return zodiac;
    }

    public void setZodiac(String zodiac) {
        this.zodiac = zodiac;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getChildren() {
        return children;
    }

    public void setChildren(String children) {
        this.children = children;
    }

    public String getBloodType() {
        return bloodType;
    }

    public void setBloodType(String bloodType) {
        this.bloodType = bloodType;
    }

    public String getCar() {
        return car;
    }

    public void setCar(String car) {
        this.car = car;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getHouse() {
        return house;
    }

    public void setHouse(String house) {
        this.house = house;
    }

    public Integer getMember() {
        return member;
    }

    public void setMember(Integer member) {
        this.member = member;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public String getConstellation() {
        return constellation;
    }

    public void setConstellation(String constellation) {
        this.constellation = constellation;
    }

    public String getSuggest() {
        return suggest;
    }

    public void setSuggest(String suggest) {
        this.suggest = suggest;
    }

    public String getPresonality() {
        return presonality;
    }

    public void setPresonality(String presonality) {
        this.presonality = presonality;
    }




    public Long getMarriageId() {
        return marriageId;
    }

    public void setMarriageId(Long marriageId) {
        this.marriageId = marriageId;
    }


    public Long getEconomicsId() {
        return economicsId;
    }

    public void setEconomicsId(Long economicsId) {
        this.economicsId = economicsId;
    }

    public Long getConditionId() {
        return conditionId;
    }

    public void setConditionId(Long conditionId) {
        this.conditionId = conditionId;
    }

    public Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    public Long getLifestyleId() {
        return lifestyleId;
    }

    public void setLifestyleId(Long lifestyleId) {
        this.lifestyleId = lifestyleId;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phone=" + phone +
                ", password='" + password + '\'' +
                ", photo='" + photo + '\'' +
                ", nick='" + nick + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", address='" + address + '\'' +
                ", maritalStatus='" + maritalStatus + '\'' +
                ", height=" + height +
                ", education='" + education + '\'' +
                ", salary='" + salary + '\'' +
                ", zodiac='" + zodiac + '\'' +
                ", email='" + email + '\'' +
                ", children='" + children + '\'' +
                ", bloodType='" + bloodType + '\'' +
                ", car='" + car + '\'' +
                ", nation='" + nation + '\'' +
                ", house='" + house + '\'' +
                ", member=" + member +
                ", weight=" + weight +
                ", constellation='" + constellation + '\'' +
                ", suggest='" + suggest + '\'' +
                ", presonality='" + presonality + '\'' +
                ", favorite='" + favorite + '\'' +
                ", condition_id=" + conditionId +
                ", marriage_id=" + marriageId +
                ", job_id=" + jobId +
                ", economics_id=" + economicsId +
                ", lifeStyle_id=" + lifestyleId +
                '}';
    }
}
